.class Lcom/teewoo/app/bus/ui/SearchActivity$1;
.super Ljava/lang/Object;
.source "SearchActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/teewoo/app/bus/ui/SearchActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/teewoo/app/bus/ui/SearchActivity;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/SearchActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    .line 322
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/teewoo/app/bus/ui/SearchActivity$1;)Lcom/teewoo/app/bus/ui/SearchActivity;
    .locals 1
    .parameter

    .prologue
    .line 322
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 9
    .parameter "v"

    .prologue
    const v2, 0x7f08002f

    const v1, 0x7f08001d

    const v3, 0x7f02005d

    const/4 v5, -0x1

    const v4, 0x7f08002b

    .line 327
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    .line 527
    :goto_0
    return-void

    .line 329
    :sswitch_0
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$0(Lcom/teewoo/app/bus/ui/SearchActivity;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 330
    new-instance v6, Landroid/content/Intent;

    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const-class v1, Lcom/teewoo/app/bus/ui/SearchByLineResultActivity;

    invoke-direct {v6, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 331
    .local v6, intentTo:Landroid/content/Intent;
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$2(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/widget/AutoCompleteTextView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$3(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;)V

    .line 332
    const-string v0, ""

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$4(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 333
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    const v1, 0x7f08001f

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/util/DialogUtil;->baseDialog(Landroid/content/Context;I)V

    goto :goto_0

    .line 335
    :cond_0
    const-string v0, "com.teewoo.app.bus.search.line"

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$4(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v6, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 336
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-virtual {v0, v6}, Lcom/teewoo/app/bus/ui/SearchActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 339
    .end local v6           #intentTo:Landroid/content/Intent;
    :cond_1
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f080061

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    goto :goto_0

    .line 343
    :sswitch_1
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$0(Lcom/teewoo/app/bus/ui/SearchActivity;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 344
    new-instance v6, Landroid/content/Intent;

    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const-class v1, Lcom/teewoo/app/bus/ui/LinePassByStation;

    invoke-direct {v6, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 345
    .restart local v6       #intentTo:Landroid/content/Intent;
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$5(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/widget/AutoCompleteTextView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$6(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;)V

    .line 346
    const-string v0, ""

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$7(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 347
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    const v1, 0x7f080020

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/util/DialogUtil;->baseDialog(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 349
    :cond_2
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$7(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/util/Utils;->isAllLetters(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 350
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$7(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    .line 351
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$7(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$8(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-static {v1, v2, v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$9(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$6(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;)V

    .line 352
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$7(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_3

    .line 353
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v4}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 357
    :cond_3
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$7(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$8(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-static {v1, v2, v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$10(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;Ljava/util/List;)I

    move-result v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$11(Lcom/teewoo/app/bus/ui/SearchActivity;I)V

    .line 358
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$12(Lcom/teewoo/app/bus/ui/SearchActivity;)I

    move-result v0

    if-ne v0, v5, :cond_4

    .line 359
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v4}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 362
    :cond_4
    const-string v0, "com.teewoo.app.bus.stationId"

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$12(Lcom/teewoo/app/bus/ui/SearchActivity;)I

    move-result v1

    invoke-virtual {v6, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 363
    const-string v0, "com.teewoo.app.bus.stationName"

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$7(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v6, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 364
    const-string v0, "save.station.history.flag"

    const/4 v1, 0x1

    invoke-virtual {v6, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 365
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-virtual {v0, v6}, Lcom/teewoo/app/bus/ui/SearchActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 368
    .end local v6           #intentTo:Landroid/content/Intent;
    :cond_5
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f080061

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 372
    :sswitch_2
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$0(Lcom/teewoo/app/bus/ui/SearchActivity;)Z

    move-result v0

    if-eqz v0, :cond_c

    .line 373
    new-instance v6, Landroid/content/Intent;

    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const-class v1, Lcom/teewoo/app/bus/ui/SearchByChangeResultActivity;

    invoke-direct {v6, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 374
    .restart local v6       #intentTo:Landroid/content/Intent;
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$13(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/widget/AutoCompleteTextView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$14(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;)V

    .line 375
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$15(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/widget/AutoCompleteTextView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$16(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;)V

    .line 376
    const-string v0, ""

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$17(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    .line 377
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f080025

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/util/DialogUtil;->baseDialog(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 379
    :cond_6
    const-string v0, ""

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$18(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 380
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f080027

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/util/DialogUtil;->baseDialog(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 382
    :cond_7
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$17(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/util/Utils;->isAllLetters(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_8

    .line 383
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$17(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    .line 384
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$17(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$8(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-static {v1, v2, v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$9(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$14(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;)V

    .line 385
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$17(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_8

    .line 386
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v4}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 390
    :cond_8
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$18(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/util/Utils;->isAllLetters(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 391
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$18(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    .line 392
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$18(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$8(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-static {v1, v2, v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$9(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$16(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;)V

    .line 393
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$18(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_9

    .line 394
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v4}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 398
    :cond_9
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$17(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$8(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-static {v1, v2, v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$10(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;Ljava/util/List;)I

    move-result v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$19(Lcom/teewoo/app/bus/ui/SearchActivity;I)V

    .line 399
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$20(Lcom/teewoo/app/bus/ui/SearchActivity;)I

    move-result v0

    if-ne v0, v5, :cond_a

    .line 400
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v4}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 403
    :cond_a
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$18(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$8(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-static {v1, v2, v3}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$10(Lcom/teewoo/app/bus/ui/SearchActivity;Ljava/lang/String;Ljava/util/List;)I

    move-result v1

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$21(Lcom/teewoo/app/bus/ui/SearchActivity;I)V

    .line 404
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$22(Lcom/teewoo/app/bus/ui/SearchActivity;)I

    move-result v0

    if-ne v0, v5, :cond_b

    .line 405
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v4}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 408
    :cond_b
    const-string v0, "com.teewoo.app.bus.search.change.from.id"

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$20(Lcom/teewoo/app/bus/ui/SearchActivity;)I

    move-result v1

    invoke-virtual {v6, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 409
    const-string v0, "com.teewoo.app.bus.search.change.to.id"

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v1}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$22(Lcom/teewoo/app/bus/ui/SearchActivity;)I

    move-result v1

    invoke-virtual {v6, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 410
    const-string v0, "com.teewoo.app.bus.search.station"

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$17(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "\u2192"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$18(Lcom/teewoo/app/bus/ui/SearchActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v6, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 411
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-virtual {v0, v6}, Lcom/teewoo/app/bus/ui/SearchActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 415
    .end local v6           #intentTo:Landroid/content/Intent;
    :cond_c
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f080061

    invoke-static {v0, v1}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 421
    :sswitch_3
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$23(Lcom/teewoo/app/bus/ui/SearchActivity;)Lcom/teewoo/app/bus/manager/history/LineHistoryManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/teewoo/app/bus/manager/history/LineHistoryManager;->getCount()J

    move-result-wide v7

    .line 423
    .local v7, records:J
    const-wide/16 v4, 0x0

    cmp-long v0, v7, v4

    if-lez v0, :cond_d

    .line 424
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const v2, 0x7f08002e

    new-instance v4, Lcom/teewoo/app/bus/ui/SearchActivity$1$1;

    invoke-direct {v4, p0}, Lcom/teewoo/app/bus/ui/SearchActivity$1$1;-><init>(Lcom/teewoo/app/bus/ui/SearchActivity$1;)V

    .line 449
    const/4 v5, 0x0

    .line 424
    invoke-static/range {v0 .. v5}, Lcom/teewoo/app/bus/util/DialogUtil;->askDialog(Landroid/content/Context;IIILandroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnClickListener;)V

    goto/16 :goto_0

    .line 451
    :cond_d
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v2}, Lcom/teewoo/app/bus/util/DialogUtil;->baseDialog(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 457
    .end local v7           #records:J
    :sswitch_4
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$28(Lcom/teewoo/app/bus/ui/SearchActivity;)Lcom/teewoo/app/bus/manager/history/StationHistoryManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/teewoo/app/bus/manager/history/StationHistoryManager;->getCount()J

    move-result-wide v7

    .line 459
    .restart local v7       #records:J
    const-wide/16 v4, 0x0

    cmp-long v0, v7, v4

    if-lez v0, :cond_e

    .line 460
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    const v2, 0x7f080030

    new-instance v4, Lcom/teewoo/app/bus/ui/SearchActivity$1$2;

    invoke-direct {v4, p0}, Lcom/teewoo/app/bus/ui/SearchActivity$1$2;-><init>(Lcom/teewoo/app/bus/ui/SearchActivity$1;)V

    .line 483
    const/4 v5, 0x0

    .line 460
    invoke-static/range {v0 .. v5}, Lcom/teewoo/app/bus/util/DialogUtil;->askDialog(Landroid/content/Context;IIILandroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnClickListener;)V

    goto/16 :goto_0

    .line 485
    :cond_e
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v2}, Lcom/teewoo/app/bus/util/DialogUtil;->baseDialog(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 491
    .end local v7           #records:J
    :sswitch_5
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$31(Lcom/teewoo/app/bus/ui/SearchActivity;)Lcom/teewoo/app/bus/manager/history/ChangeHistoryManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/teewoo/app/bus/manager/history/ChangeHistoryManager;->getCount()J

    move-result-wide v7

    .line 493
    .restart local v7       #records:J
    const-wide/16 v4, 0x0

    cmp-long v0, v7, v4

    if-lez v0, :cond_f

    .line 494
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    const v2, 0x7f080031

    new-instance v4, Lcom/teewoo/app/bus/ui/SearchActivity$1$3;

    invoke-direct {v4, p0}, Lcom/teewoo/app/bus/ui/SearchActivity$1$3;-><init>(Lcom/teewoo/app/bus/ui/SearchActivity$1;)V

    .line 517
    const/4 v5, 0x0

    .line 494
    invoke-static/range {v0 .. v5}, Lcom/teewoo/app/bus/util/DialogUtil;->askDialog(Landroid/content/Context;IIILandroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnClickListener;)V

    goto/16 :goto_0

    .line 519
    :cond_f
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->access$1(Lcom/teewoo/app/bus/ui/SearchActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v2}, Lcom/teewoo/app/bus/util/DialogUtil;->baseDialog(Landroid/content/Context;I)V

    goto/16 :goto_0

    .line 523
    .end local v7           #records:J
    :sswitch_6
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/SearchActivity$1;->this$0:Lcom/teewoo/app/bus/ui/SearchActivity;

    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/SearchActivity;->finish()V

    goto/16 :goto_0

    .line 327
    :sswitch_data_0
    .sparse-switch
        0x7f0a006d -> :sswitch_0
        0x7f0a006f -> :sswitch_3
        0x7f0a0073 -> :sswitch_1
        0x7f0a0075 -> :sswitch_4
        0x7f0a007b -> :sswitch_2
        0x7f0a007d -> :sswitch_5
        0x7f0a0097 -> :sswitch_6
    .end sparse-switch
.end method
